package sr.codemg.vm;

import lombok.Getter;
import lombok.Setter;

public class Login {

    @Getter
    @Setter
    public static class Request extends Base.Request {
        private String userId;
        private String clientType;
        private String passwd;
        private String msgVerifyCode;
    }

    @Getter
    @Setter
    public static class Response extends Base.Response {
        private String userId;
        private String userName;

        public Response() {
        }

        public Response(String code, String msg, String token) {
            this.token = token;
            this.code = code;
            this.msg = msg;
        }

        public Response(String token) {
            this.token = token;
        }

        private String token;
    }

}
